package cn.da.shuai.cool.system.model.entity.menu;

import cn.da.shuai.cool.common.entity.UpdateBase;
import cn.da.shuai.cool.system.model.enums.menu.MenuType;
import cn.da.shuai.cool.system.model.enums.menu.MenuVisibleType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;

@Setter
@Getter
@EqualsAndHashCode(callSuper = true)
@Schema(name = "UpdateMenuVo", description = "更新菜单视图对象")
public class UpdateMenuVo extends UpdateBase {
    @Schema(description = "菜单名称")
    private String menuName;

    @Schema(description = "父菜单ID")
    private Long parentId;

    @Schema(description = "显示顺序")
    private Integer orderNum;

    @Schema(description = "路由地址")
    private String path;

    @Schema(description = "组件路径")
    private String component;

    @Schema(description = "菜单类型（M目录 C菜单 F按钮）")
    private MenuType menuType;

    @Schema(description = "菜单状态（0显示 1隐藏）")
    private MenuVisibleType visible;

    @Schema(description = "权限标识")
    private String perms;

    @Schema(description = "菜单图标")
    private String icon;
}